From: LLVM Packaging Team Date: Fri, 13 Oct 2023 16:25:00 +0000 (+0000) Subject: syscall-mips64el-def X-Git-Tag: archive/raspbian/1%16.0.6-15_deb11u2+rpi1^2~39 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=d9edb390b0242838ae56c447102556cada1eee52;p=llvm-toolchain-16.git syscall-mips64el-def =================================================================== Gbp-Pq: Topic mips Gbp-Pq: Name syscall-mips64el-def.diff --- diff --git a/compiler-rt/lib/builtins/clear_cache.c b/compiler-rt/lib/builtins/clear_cache.c index 8993761eb3..2c43e84a18 100644 --- a/compiler-rt/lib/builtins/clear_cache.c +++ b/compiler-rt/lib/builtins/clear_cache.c @@ -6,6 +6,11 @@ // //===----------------------------------------------------------------------===// +#if defined(__linux__) && defined(__mips__) +// Otherwise, the build fails as it cannot find syscall +#define _GNU_SOURCE +#endif + #include "int_lib.h" #if defined(__linux__) #include